<!DOCTYPE html>
<html>
<head>
    <title>可拖拽组件component1</title>
    <link rel='stylesheet' href='/stylesheets/style.css'/>
    <script>
        window.addEventListener('message', function (ev) {
            console.log(ev.data, '可拖拽组件收到消息');
            document.getElementById('content').innerHTML += JSON.stringify(ev.data)
        });
    </script>
</head>
<body style="background: aqua">
<h3>可拖拽组件component1</h3>
<p id="content"></p>
</body>
</html>
